package river;

import static org.junit.Assert.*;

import org.junit.Test;

public class TestAriver {

	public void testConstructor(){
		Ariver s1=new Source(new Location(1, 1, "s"), 120.0);
		Ariver s2= new Source(new Location(1, 5, "t"), 50);
		Ariver s3= new Source(new Location(3, 7, "u"), 100.0);
		
		Ariver c1= new Confluence(new Location(3, 3, "b"), 60.0, s1, s2);
		Ariver c2= new Confluence(new Location(5, 5, "a"), 30.0, c1, s3);
		Mouth m= new Mouth(new Location(7, 5, "n"), c2);
	System.out.println(m);	
	}

}
